projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f4a96b
)
src/fileio.c: Move computation of encoded_absname inside `if'.
author
Juanma Barranquero
<lekktu@gmail.com>
Fri, 25 Mar 2011 17:37:15 +0000
(18:37 +0100)
committer
Juanma Barranquero
<lekktu@gmail.com>
Fri, 25 Mar 2011 17:37:15 +0000
(18:37 +0100)
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index bab9360d3bcd6b1c05a8ac92d1f89a63a046ff6e..85431dfd5b1f9a361e7feaf3d1bc48354b4be689 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-2806,11
+2806,10
@@
is disabled. */)
return call3 (handler, Qset_file_selinux_context, absname, context);
#if HAVE_LIBSELINUX
- encoded_absname = ENCODE_FILE (absname);
-
if (is_selinux_enabled ())
{
/* Get current file context. */
+ encoded_absname = ENCODE_FILE (absname);
conlength = lgetfilecon (SSDATA (encoded_absname), &con);
if (conlength > 0)
{